package com.song.elasticsearch.es;

/**
 * 搜索参数封装
 */
public class EsParamEntity {
    private String columnName;
    private Object value;
    EsQueryEnum typeEnum;
    EsTermEnum termEnum;
    Object from;
    Object to;

    public String getColumnName() {
        return columnName;
    }

    public EsParamEntity setColumnName(String columnName) {
        this.columnName = columnName;
        return this;
    }

    public Object getValue() {
        return value;
    }

    public EsParamEntity setValue(Object value) {
        this.value = value;
        return this;
    }

    public EsQueryEnum getTypeEnum() {
        return typeEnum;
    }

    public EsParamEntity setTypeEnum(EsQueryEnum typeEnum) {
        this.typeEnum = typeEnum;
        return this;
    }

    public EsTermEnum getTermEnum() {
        return termEnum;
    }

    public EsParamEntity setTermEnum(EsTermEnum termEnum) {
        this.termEnum = termEnum;
        return this;
    }

    public Object getFrom() {
        return from;
    }

    public EsParamEntity setFrom(Object from) {
        this.from = from;
        return this;
    }

    public Object getTo() {
        return to;
    }

    public EsParamEntity setTo(Object to) {
        this.to = to;
        return this;
    }
}
